package com.homework.vehicle.Plane;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/26 19:33
 * @description
 */
public abstract class Plane {

    private String type;

    public Plane(String type) {
        this.type = type;
    }

    public Plane() {
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public abstract void atk();
    public abstract void getInfo();
    @Override
    public String toString() {
        return "Plane{" +
                "type='" + type + '\'' +
                '}';
    }


}
